﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DA5 RID: 3493
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class QuitLineupScRsp : IMessage<QuitLineupScRsp>, IMessage, IEquatable<QuitLineupScRsp>, IDeepCloneable<QuitLineupScRsp>, IBufferMessage
	{
		// Token: 0x17002C62 RID: 11362
		// (get) Token: 0x06009CCE RID: 40142 RVA: 0x001A3C3F File Offset: 0x001A1E3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<QuitLineupScRsp> Parser
		{
			get
			{
				return QuitLineupScRsp._parser;
			}
		}

		// Token: 0x17002C63 RID: 11363
		// (get) Token: 0x06009CCF RID: 40143 RVA: 0x001A3C46 File Offset: 0x001A1E46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return QuitLineupScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002C64 RID: 11364
		// (get) Token: 0x06009CD0 RID: 40144 RVA: 0x001A3C58 File Offset: 0x001A1E58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return QuitLineupScRsp.Descriptor;
			}
		}

		// Token: 0x06009CD1 RID: 40145 RVA: 0x001A3C5F File Offset: 0x001A1E5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitLineupScRsp()
		{
		}

		// Token: 0x06009CD2 RID: 40146 RVA: 0x001A3C68 File Offset: 0x001A1E68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitLineupScRsp(QuitLineupScRsp other) : this()
		{
			this.fECCPMONPNF_ = other.fECCPMONPNF_;
			this.isVirtual_ = other.isVirtual_;
			this.planeId_ = other.planeId_;
			this.retcode_ = other.retcode_;
			this.baseAvatarId_ = other.baseAvatarId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009CD3 RID: 40147 RVA: 0x001A3CC8 File Offset: 0x001A1EC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitLineupScRsp Clone()
		{
			return new QuitLineupScRsp(this);
		}

		// Token: 0x17002C65 RID: 11365
		// (get) Token: 0x06009CD4 RID: 40148 RVA: 0x001A3CD0 File Offset: 0x001A1ED0
		// (set) Token: 0x06009CD5 RID: 40149 RVA: 0x001A3CD8 File Offset: 0x001A1ED8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool FECCPMONPNF
		{
			get
			{
				return this.fECCPMONPNF_;
			}
			set
			{
				this.fECCPMONPNF_ = value;
			}
		}

		// Token: 0x17002C66 RID: 11366
		// (get) Token: 0x06009CD6 RID: 40150 RVA: 0x001A3CE1 File Offset: 0x001A1EE1
		// (set) Token: 0x06009CD7 RID: 40151 RVA: 0x001A3CE9 File Offset: 0x001A1EE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsVirtual
		{
			get
			{
				return this.isVirtual_;
			}
			set
			{
				this.isVirtual_ = value;
			}
		}

		// Token: 0x17002C67 RID: 11367
		// (get) Token: 0x06009CD8 RID: 40152 RVA: 0x001A3CF2 File Offset: 0x001A1EF2
		// (set) Token: 0x06009CD9 RID: 40153 RVA: 0x001A3CFA File Offset: 0x001A1EFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PlaneId
		{
			get
			{
				return this.planeId_;
			}
			set
			{
				this.planeId_ = value;
			}
		}

		// Token: 0x17002C68 RID: 11368
		// (get) Token: 0x06009CDA RID: 40154 RVA: 0x001A3D03 File Offset: 0x001A1F03
		// (set) Token: 0x06009CDB RID: 40155 RVA: 0x001A3D0B File Offset: 0x001A1F0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002C69 RID: 11369
		// (get) Token: 0x06009CDC RID: 40156 RVA: 0x001A3D14 File Offset: 0x001A1F14
		// (set) Token: 0x06009CDD RID: 40157 RVA: 0x001A3D1C File Offset: 0x001A1F1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BaseAvatarId
		{
			get
			{
				return this.baseAvatarId_;
			}
			set
			{
				this.baseAvatarId_ = value;
			}
		}

		// Token: 0x06009CDE RID: 40158 RVA: 0x001A3D25 File Offset: 0x001A1F25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as QuitLineupScRsp);
		}

		// Token: 0x06009CDF RID: 40159 RVA: 0x001A3D34 File Offset: 0x001A1F34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(QuitLineupScRsp other)
		{
			return other != null && (other == this || (this.FECCPMONPNF == other.FECCPMONPNF && this.IsVirtual == other.IsVirtual && this.PlaneId == other.PlaneId && this.Retcode == other.Retcode && this.BaseAvatarId == other.BaseAvatarId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009CE0 RID: 40160 RVA: 0x001A3DB0 File Offset: 0x001A1FB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FECCPMONPNF)
			{
				num ^= this.FECCPMONPNF.GetHashCode();
			}
			if (this.IsVirtual)
			{
				num ^= this.IsVirtual.GetHashCode();
			}
			if (this.PlaneId != 0U)
			{
				num ^= this.PlaneId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.BaseAvatarId != 0U)
			{
				num ^= this.BaseAvatarId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009CE1 RID: 40161 RVA: 0x001A3E53 File Offset: 0x001A2053
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009CE2 RID: 40162 RVA: 0x001A3E5B File Offset: 0x001A205B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009CE3 RID: 40163 RVA: 0x001A3E64 File Offset: 0x001A2064
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IsVirtual)
			{
				output.WriteRawTag(16);
				output.WriteBool(this.IsVirtual);
			}
			if (this.PlaneId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.PlaneId);
			}
			if (this.BaseAvatarId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.BaseAvatarId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this.FECCPMONPNF)
			{
				output.WriteRawTag(112);
				output.WriteBool(this.FECCPMONPNF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009CE4 RID: 40164 RVA: 0x001A3F14 File Offset: 0x001A2114
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FECCPMONPNF)
			{
				num += 2;
			}
			if (this.IsVirtual)
			{
				num += 2;
			}
			if (this.PlaneId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PlaneId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.BaseAvatarId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BaseAvatarId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009CE5 RID: 40165 RVA: 0x001A3F9C File Offset: 0x001A219C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(QuitLineupScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FECCPMONPNF)
			{
				this.FECCPMONPNF = other.FECCPMONPNF;
			}
			if (other.IsVirtual)
			{
				this.IsVirtual = other.IsVirtual;
			}
			if (other.PlaneId != 0U)
			{
				this.PlaneId = other.PlaneId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.BaseAvatarId != 0U)
			{
				this.BaseAvatarId = other.BaseAvatarId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009CE6 RID: 40166 RVA: 0x001A4028 File Offset: 0x001A2228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009CE7 RID: 40167 RVA: 0x001A4034 File Offset: 0x001A2234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 24U)
				{
					if (num == 16U)
					{
						this.IsVirtual = input.ReadBool();
						continue;
					}
					if (num == 24U)
					{
						this.PlaneId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.BaseAvatarId = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.FECCPMONPNF = input.ReadBool();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003C91 RID: 15505
		private static readonly MessageParser<QuitLineupScRsp> _parser = new MessageParser<QuitLineupScRsp>(() => new QuitLineupScRsp());

		// Token: 0x04003C92 RID: 15506
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003C93 RID: 15507
		public const int FECCPMONPNFFieldNumber = 14;

		// Token: 0x04003C94 RID: 15508
		private bool fECCPMONPNF_;

		// Token: 0x04003C95 RID: 15509
		public const int IsVirtualFieldNumber = 2;

		// Token: 0x04003C96 RID: 15510
		private bool isVirtual_;

		// Token: 0x04003C97 RID: 15511
		public const int PlaneIdFieldNumber = 3;

		// Token: 0x04003C98 RID: 15512
		private uint planeId_;

		// Token: 0x04003C99 RID: 15513
		public const int RetcodeFieldNumber = 9;

		// Token: 0x04003C9A RID: 15514
		private uint retcode_;

		// Token: 0x04003C9B RID: 15515
		public const int BaseAvatarIdFieldNumber = 8;

		// Token: 0x04003C9C RID: 15516
		private uint baseAvatarId_;
	}
}
